﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Pku.BookStore.Utility
{
    public class EnumUtility
    {
        /// <summary>
        /// 订单状态
        /// </summary>
        public enum OrderStatus
        {
            [Description("定单拒收")]
            Reject = -2,
            [Description("定单取消")]
            Cancel = -1,
            [Description("待确认")]
            Combo = 0,
            [Description("已确认")]
            Confirmed = 1,
            [Description("货物在途")]
            Onway = 2,
            [Description("定单已签收")]
            Success = 3
        }

        /// <summary>
        /// 用户状态
        /// </summary>
        public enum UserStatus
        {
            [Description("正常")]
            Normal = 1,
            [Description("锁定")]
            Lock = 0
        }

        /// <summary>
        /// 用户等级
        /// </summary>
        public enum UserLevel
        {
            [Description("普通用户")]
            Normal = 0,
            [Description("VIP用户")]
            Vip = 1
        }

        /// <summary>
        /// 用户等级
        /// </summary>
        public enum Gender
        {
            [Description("男")]
            Normal = 0,
            [Description("女")]
            Vip = 1
        }
    }
}
